package com.shievy.anweb.service;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import androidx.annotation.NonNull;

import com.google.auto.service.AutoService;
import com.shievy.anweb.Test1Activity;

@AutoService({TestService.class})
public class TestServiceImpl implements TestService {
    @Override
    public void openPage(@NonNull Context cxt, @NonNull Bundle bundle) {
        if (cxt != null) {
            Intent next = new Intent(cxt, Test1Activity.class);
            next.putExtras(bundle);
            cxt.startActivity(next);
        }
    }
}
